const app = getApp();
Page({
  data: {
    type:true,
    ordernum:''
  },
  onLoad: function (options) {
    if(options.ordernum){
      this.setData({
        ordernum:options.ordernum
      })
    }
  },
  saveImgBtn() {
    setTimeout(()=>{
      app.saveImg('')
    },800)
  },
  onReady: function () {

  },

  onShow: function () {

  },

  onShareAppMessage: function () {

  },
  order(){
    wx.reLaunch({
      url: '/pages/order/index',
    })
  }
})